package com.ktjy.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2024/12/13  11:34
 */
@Controller
//@RequestMapping("/")
public class HelloController {
    Logger logger= LoggerFactory.getLogger(HelloController.class);

    @RequestMapping("/hello")
    public String hello(){
        logger.info("hello方法执行了");
        return "hello";
    }
}
